//---------------------------------------------------------------------------

#ifndef FormPriceH
#define FormPriceH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
#include "FR_Class.hpp"
#include "FR_View.hpp"
#include "FR_DBSet.hpp"
#include "FR_DSet.hpp"
#include <DB.hpp>
#include <IBCustomDataSet.hpp>
#include <IBQuery.hpp>
#include <IBTable.hpp>
#include "FR_Ctrls.hpp"
#include <AppEvnts.hpp>
#include "class_TabCtrl.h"
#include "ExcellReportMaker.h"
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TFPrice : public TForm
{
__published:	// IDE-managed Components
        TPanel *Panel1;
        TPanel *Panel2;
        TCheckBox *CheckBox1;
        TCheckBox *CheckBox2;
        TCheckBox *CheckBox3;
        TPanel *Panel3;
        TBitBtn *BitBtn1;
        TfrReport *Rep;
        TfrPreview *fP;
        TPanel *Panel4;
        TfrDBDataSet *fCAT;
        TIBTable *tPROD;
        TIBTable *tCAT;
        TfrDBDataSet *fPROD;
        TfrSpeedButton *frSpeedButton2;
        TfrSpeedButton *frSpeedButton1;
        TfrSpeedButton *frSpeedButton3;
        TfrSpeedButton *frSpeedButton4;
        TfrSpeedButton *frSpeedButton5;
        TfrSpeedButton *frSpeedButton6;
        TfrSpeedButton *frSpeedButton7;
        TfrSpeedButton *frSpeedButton10;
        TButton *Button1;
        TLabel *Label1;
        TApplicationEvents *ApplicationEvents1;
        TDataSource *DataSource2;
        TDataSource *DataSource3;
        TfrSpeedButton *frSpeedButton8;
        TIBQuery *qCat;
        TIBQuery *qProd;
        TSaveDialog *SD;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall frSpeedButton2Click(TObject *Sender);
        void __fastcall frSpeedButton1Click(TObject *Sender);
        void __fastcall frSpeedButton3Click(TObject *Sender);
        void __fastcall frSpeedButton4Click(TObject *Sender);
        void __fastcall frSpeedButton5Click(TObject *Sender);
        void __fastcall frSpeedButton6Click(TObject *Sender);
        void __fastcall frSpeedButton7Click(TObject *Sender);
        void __fastcall frSpeedButton10Click(TObject *Sender);
        void __fastcall RepUserFunction(const AnsiString Name, Variant &p1,
          Variant &p2, Variant &p3, Variant &Val);
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall ApplicationEvents1Message(tagMSG &Msg,
          bool &Handled);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall CheckBox2Click(TObject *Sender);
        void __fastcall frSpeedButton8Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        TTabCtrl *Disp;
        __fastcall TFPrice(TComponent* Owner);
        void __fastcall Make();
};
//---------------------------------------------------------------------------
extern PACKAGE TFPrice *FPrice;
//---------------------------------------------------------------------------
#endif
